﻿using System.Collections.Generic;
using NBlog.Web.Application.Service.Entity;

namespace NBlog.Web.Application.Service
{
    public interface IBaseService<TEntity>
        where TEntity : BaseEntity
    {
        void Save(TEntity collectionEntity);
        TEntity GetBySlug(string slug);
        List<TEntity> GetList();
        void Delete(string slug);
        bool Exists(string slug);
    }
}